package com.gc.business.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gc.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 附件表 gc_attachment
 * 
 * @author liujinteng
 * @date 2020-11-06
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("gc_attachment")
public class Attachment extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long attachId;
	
    /**
    * 附件名称
    */
    private String attachTitle;
    /**
    * 附件路径
    */
    private String attachUrl;
    /**
    * 附件大小
    */
    private String attachSize;
    /**
    * 业务ID
    */
    private Long businessId;
    /**
    * 业务类型
    */
    private String businessType;
    /**
    * 是否为图片 0.是，1.不是
    */
    private Integer isImg;
    /**
    * 文件图标路径
    */
    private String iconUrl;
    /**
    * 上传用户ID
    */
    private Long userId;
}
